﻿* {
    margin: 0;
    padding: 0;
}

#wrapper {
    position: relative;
    width: 960px;
    font-size: 16px;
    font-family: Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;

    & > div {
        position: relative;
        float: left;
        margin-top: 20px;
        padding: 0 4px;
        width: 140px;

        &:first-of-type {
            margin-left: 20px;
            border-left: 2px solid #d3d7da;
        }

        &:nth-of-type(2n) {
            height: 280px;
            border: 2px solid #d3d7da;
        }

        &:nth-of-type(2n + 1) {
            height: 260px;
            border-top: 2px solid #d3d7da;
            border-bottom: 2px solid #d3d7da;
        }

        hgroup {
            display: inline-block;
            margin: 10px 0 0 40px;
            height: 35px;

            h2, h3 {
                font-size: 1em;
            }
        }

        a {
            display: block;
            color: #d12d2f;
            text-decoration: none;

            span {
                text-transform: uppercase;
            }
        }

        &:nth-of-type(1) {
            hgroup:before {
                position: absolute;
                top: 14px;
                left: 4px;
                content: url(imgs/install.png);
            }
        }

        &:nth-of-type(2) {
            hgroup:before {
                position: absolute;
                top: 14px;
                left: 4px;
                content: url(imgs/tuneUp.png);
            }
        }

        &:nth-of-type(3) {
            hgroup:before {
                position: absolute;
                top: 14px;
                left: 4px;
                content: url(imgs/manage.png);
            }
        }

        &:nth-of-type(4) {
            hgroup {
                margin-top: 30px;

                &:before {
                    position: absolute;
                    top: 14px;
                    left: 4px;
                    content: url(imgs/openSource.png);
                }
            }

            p {
                margin-top: 1px;
            }
        }

        &:nth-of-type(5) {
            hgroup {
                margin-top: 30px;

                &:before {
                    position: absolute;
                    top: 14px;
                    left: 4px;
                    content: url(imgs/twitter.png);
                }
            }

            p {
                margin-top: -4px;
            }
        }

        &:nth-of-type(6) {
            hgroup {
                margin-top: 30px;

                &:before {
                    position: absolute;
                    top: 14px;
                    left: 4px;
                    content: url(imgs/about.png);
                }
            }

            p {
                margin-top: 1px;
            }
        }

        p {
            margin-top: 17px;
            margin-bottom: 5px;
        }

        .yellowBox {
            border: 1px solid #ffff0d;

            a {
                display: inline;
            }
        }
    }
}
